#pragma once
#include <string>
#include <vector>
#include "bash.hpp"

namespace toolsLib
{
class File
{
  public:
    static File& getInstance();

    bool extractSameNameFile(const std::string& direcotry1,
                             const std::string& direcotry2,
                             std::vector<std::string>& result);

    bool filtrateFileFromCSV(const std::string& csvFile,
                         const std::string sourceDir,
                         const std::string targetDir);

  private:
    File();

    ~File();

    File(const File&) = delete;

    File& operator=(const File&) = delete;
};
}  // namespace toolsLib
